Platform Explorer / Nuxeo Platform 2021.49

Component org.nuxeo.ecm.platform.csv.export.config

Requirements

Resolution Order

344
The resolution order represents the order in which this component has been resolved by the Nuxeo Runtime framework.
You can influence this order by adding "require" tags in your component declaration, to make sure it is resolved after another component.

Contributions

XML Source

<?xml version="1.0"?>
<component name="org.nuxeo.ecm.platform.csv.export.config" version="1.0.0">

  <require>org.nuxeo.ecm.core.bulk</require>

  <extension target="org.nuxeo.ecm.core.bulk" point="actions">
    <action name="csvExport" inputStream="bulk/csvExport" bucketSize="100" batchSize="50" httpEnabled="true"
      defaultScroller="${nuxeo.core.bulk.csvExport.scroller:=default}"
      defaultQueryLimit="${nuxeo.core.bulk.csvExport.queryLimit:=100000}"
      validationClass="org.nuxeo.ecm.platform.csv.export.validation.CSVExportValidation" />
  </extension>

  <extension target="org.nuxeo.runtime.stream.service" point="streamProcessor">
    <!-- CSV exporter processor -->
    <streamProcessor name="csvExport" class="org.nuxeo.ecm.platform.csv.export.action.CSVExportAction"
      defaultConcurrency="${nuxeo.bulk.action.csvExport.defaultConcurrency:=2}"
      defaultPartitions="${nuxeo.bulk.action.csvExport.defaultPartitions:=4}">
      <policy name="default" maxRetries="3" delay="1s" maxDelay="10s" continueOnFailure="true" />
      <stream name="bulk/makeBlob">
        <filter name="overflow" class="org.nuxeo.ecm.core.transientstore.computation.TransientStoreOverflowRecordFilter">
          <option name="storeName">default</option>
          <option name="prefix">csvoverflow</option>
          <option name="thresholdSize">990000</option>
        </filter>
      </stream>
      <option name="produceImmediate">true</option>
    </streamProcessor>
  </extension>

  <extension target="org.nuxeo.ecm.core.transientstore.TransientStorageComponent" point="store">
    <!-- Explicit declaration based on default configuration to enforce GC -->
    <store name="csvExport" />
  </extension>

</component>